package com.demoo.zjsu.util.HttpClientUtil;

import org.apache.http.HttpRequest;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpRequestBase;

/**
 * Created by jshjsh on 2016/8/15.
 * 将最容易改变的部分留出来
 * 实现这个接口的方法可以发送新的Httpclient
 */
public interface ClientSender {

    HttpRequestBase getRequest(String url);

    String getEntity(CloseableHttpResponse response);

}
